package com.ece.devirtualizus.ModelDto;

import java.util.Date;

public class DefiDto extends AbstractEpreuve{

	Date dateDebut;
	boolean isBestAtTheEnd;
	String objetPari;
	Modules module;
	int objectifInModule; //nbRepetition max pour gagner
	boolean isFinish;
	int currentValueReceiver;
	int currentValueSender;
	String winnerId;
	String looserId;
	boolean isDisplayDetails;
	String senderID;
	String receiverID;
	DefiTemplateName typeDefi;
	public boolean isDisplayDetails() {
		return isDisplayDetails;
	}


	public void setDisplayDetails(boolean isDisplayDetails) {
		this.isDisplayDetails = isDisplayDetails;
	}


	@Override
	public String toString() {
		return "DefiDto [dateDebut=" + dateDebut + ", isBestAtTheEnd="
				+ isBestAtTheEnd + ", objetPari=" + objetPari + ", module="
				+ module + ", objectifInModule=" + objectifInModule
				+ ", isFinish=" + isFinish + ", currentValueReceiver="
				+ currentValueReceiver + ", currentValueSender="
				+ currentValueSender + ", winnerId=" + winnerId + ", looserId="
				+ looserId + ", isDisplayDetails=" + isDisplayDetails
				+ ", senderID=" + senderID + ", receiverID=" + receiverID
				+ ", typeDefi=" + typeDefi + "]";
	}


	public String getWinnerId() {
		return winnerId;
	}


	public void setWinnerId(String winnerId) {
		this.winnerId = winnerId;
	}


	public String getLooserId() {
		return looserId;
	}


	public void setLooserId(String looserId) {
		this.looserId = looserId;
	}


	public Date getDateDebut() {
		return dateDebut;
	}


	public void setDateDebut(Date dateDebut) {
		this.dateDebut = dateDebut;
	}


	public Date getDateFin() {
		return dateFin;
	}


	public void setDateFin(Date dateFin) {
		this.dateFin = dateFin;
	}


	public boolean isBestAtTheEnd() {
		return isBestAtTheEnd;
	}


	public void setBestAtTheEnd(boolean isBestAtTheEnd) {
		this.isBestAtTheEnd = isBestAtTheEnd;
	}


	public String getObjetPari() {
		return objetPari;
	}


	public void setObjetPari(String objetPari) {
		this.objetPari = objetPari;
	}


	public Modules getModule() {
		return module;
	}


	public void setModule(Modules module) {
		this.module = module;
	}


	public int getObjectifInModule() {
		return objectifInModule;
	}


	public void setObjectifInModule(int objectifInModule) {
		this.objectifInModule = objectifInModule;
	}


	public boolean isFinish() {
		return isFinish;
	}


	public void setFinish(boolean isFinish) {
		this.isFinish = isFinish;
	}


	public int getCurrentValueReceiver() {
		return currentValueReceiver;
	}


	public void setCurrentValueReceiver(int currentValueReceiver) {
		this.currentValueReceiver = currentValueReceiver;
	}


	public int getCurrentValueSender() {
		return currentValueSender;
	}


	public void setCurrentValueSender(int currentValueSender) {
		this.currentValueSender = currentValueSender;
	}


	public DefiDto() {
		// TODO Auto-generated constructor stub
		this.dateFin = new Date();

	}


	public String getSenderID() {
		return senderID;
	}


	public void setSenderID(String senderID) {
		this.senderID = senderID;
	}


	public String getReceiverID() {
		return receiverID;
	}


	public void setReceiverID(String receiverID) {
		this.receiverID = receiverID;
	}


	public DefiTemplateName getTypeDefi() {
		return typeDefi;
	}


	public void setTypeDefi(DefiTemplateName typeDefi) {
		this.typeDefi = typeDefi;
	}

}
